<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<body>
		<script>
			function getMax2(a, b, c) {
				var max = a
				if (b > max) {
					max = b
				}
				if (c > max) {
					max = c
				}

				return max
			}
			console.log('开始执行')

			var m1 = getMax2(12, 23, 34)

			console.log('最大值是 ', m1)
            
			console.log('执行结束')
		</script>
	</body>
</html>
